
/*.login-container {*/
/*    height: calc(100% - 50px);*/

/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*.login-dialog {*/
/*    width: 400px;*/
/*    height: 400px;*/
/*    background-color: rgba(255, 255, 255, 0.8);*/
/*    border-radius: 10px;*/
/*}*/

/*!* 标题 *!*/
/*.login-dialog h3 {*/
/*    text-align: center;*/
/*    padding: 50px 0;*/
/*}*/

/*!* 针对一行设置样式 *!*/
/*.login-dialog .row {*/
/*    width: 100%;*/
/*    height: 50px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.login-dialog .row span {*/
/*    width: 100px;*/
/*    font-weight: 700;*/
/*}*/

/*#username, #password {*/
/*    width: 200px;*/
/*    height: 40px;*/

/*    font-size: 20px;*/
/*    line-height: 40px;*/
/*    padding-left: 10px;*/
/*    border: none;*/
/*    outline: none;*/
/*    border-radius: 10px;*/
/*}*/

/*#submit {*/
/*    width: 300px;*/
/*    height: 50px;*/

/*    background-color: rgb(0, 128, 0);*/
/*    color: white;*/

/*    border: none;*/
/*    outline: none;*/
/*    border-radius: 10px;*/

/*    margin-top: 20px;*/
/*}*/


/* 开始就已经注释了*/
/*#submit:active {*/
/*    background-color: #666;*/
/*}*/

/*#submit1 {*/
/*    width: 300px;*/
/*    height: 50px;*/

/*    background-color: rgb(0, 128, 0);*/
/*    color: white;*/

/*    border: none;*/
/*    outline: none;*/
/*    border-radius: 10px;*/

/*    margin-top: 20px;*/
/*}*/

/*#submit1:active {*/
/*    background-color: #666;*/
/*}*/




/*新参考*/
.login-container {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog {
    width: 400px;
    height: 380px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.login-dialog h3 {
    text-align: center;
    padding: 50px 0;
}

.login-dialog .row {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-dialog .row span {
    display: block;
    /* 设置固定宽度, 能让文字和后面的输入框之间有间隙 */
    width: 70px;
    font-weight: 700;
}

.login-dialog #username,
.login-dialog #password,.login-dialog #password2 {
    width: 180px;
    height: 40px;
    font-size: 20px;
    text-indent: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
}

.login-dialog .submit-row1 {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.login-dialog .submit-row2 {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.login-dialog #submit {
    width: 100px;
    height: 40px;
    border-radius: 10px;
    color: white;
    background-color: rgb(125,182,191);
    border: none;
    outline: none;
}

.login-dialog #submit:active {
    background-color: #A09074;
}

.login-dialog #submit2 {
    width: 100px;
    height: 40px;
    border-radius: 10px;
    color: white;
    background-color: rgb(125,182,191);
    border: none;
    outline: none;
}

.login-dialog #submit2:active {
    background-color: #A09074;
}